package net.seehope.foodie.service;

import java.lang.reflect.InvocationTargetException;
import java.util.List;

import net.seehope.foodie.pojo.UserAddress;
import net.seehope.foodie.pojo.bo.AddAddressBo;
import net.seehope.foodie.pojo.bo.UpdateBo;

public interface AddressService {
	public List<UserAddress> showAddressList(String userId);
	
	public void setDefaultAddress(String userId,String addressId);
	
	public void updateAddress(UpdateBo bo);
	
	public void deleteAddress(String userId,String addressId);
	
	public void addAddress(AddAddressBo bo) throws IllegalAccessException, InvocationTargetException;
	
	public UserAddress queryUserAddressByAddressId(String address);
	
}
